<template>
    <el-descriptions title="实收付">
        <template v-for="item in result.pay" :key="item.currency">
            <el-descriptions-item :label="item.currency">{{
                item.sum
            }}</el-descriptions-item>
        </template>
    </el-descriptions>
    <el-descriptions title="应收付">
        <template v-for="item in result.feedet" :key="item.currency">
            <el-descriptions-item :label="item.currency">{{
                item.sum
            }}</el-descriptions-item>
        </template>
    </el-descriptions>
</template>
<script setup lang="ts" name="AuditRresult">

type AuditCurrencySum = { currency: string; sum: number };
type AuditResult = {
    pay: AuditCurrencySum[],
    feedet: AuditCurrencySum[]
}
const props = defineProps<{
    result: AuditResult;
}>();
const emit = defineEmits<{
    close: [];
}>();
</script>
<style lang="scss" scoped></style>
